<?php
/**
 * FastApp.
 * 8/23/24
 * @Author deepsea159
 * @Contact telegram:deepsea159
 */
declare(strict_types=1);

use Hyperf\Database\Seeders\Seeder;
use Hyperf\DbConnection\Db;

class Menu extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        foreach ($this->getData() as $sql) {
            try {
                Db::connection('default')->insert($sql);
            } catch (\Throwable) {
            }
        }
    }

    public function getData(): array
    {
        return [
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4762, 0, '0', '游戏管理', 'game:app', 'IconMenu', NULL, NULL, NULL, 2, 'M', 1, 1, 1, 1, '2024-08-11 03:11:05', '2024-08-11 03:11:05', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4773, 4762, '0,4762', '游戏平台', 'game:platform', 'IconMenu', 'game/platform', 'game/platform/index', NULL, 2, 'M', 1, 0, 1, NULL, '2024-08-11 11:27:13', '2024-08-11 11:27:13', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4774, 4773, '0,4762,4773', '游戏平台列表', 'game:platform:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-11 11:27:13', '2024-08-11 11:27:13', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4775, 4773, '0,4762,4773', '游戏平台更新', 'game:platform:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-11 11:27:13', '2024-08-11 11:27:13', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4776, 4773, '0,4762,4773', '游戏平台保存', 'game:platform:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-11 11:27:13', '2024-08-11 11:27:13', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4777, 4773, '0,4762,4773', '游戏平台读取', 'game:platform:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-11 11:27:13', '2024-08-11 11:27:13', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4778, 4773, '0,4762,4773', '游戏平台删除', 'game:platform:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-11 11:27:13', '2024-08-11 11:27:13', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4779, 4762, '0,4762', '游戏列表', 'game', 'IconMenu', 'game', 'game/index', NULL, 2, 'M', 1, 0, 1, NULL, '2024-08-11 20:57:15', '2024-08-11 20:57:15', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4780, 4779, '0,4762,4779', '游戏列表列表', 'game:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-11 20:57:15', '2024-08-11 20:57:15', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4781, 4779, '0,4762,4779', '游戏列表保存', 'game:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-11 20:57:15', '2024-08-11 20:57:15', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4782, 4779, '0,4762,4779', '游戏列表更新', 'game:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-11 20:57:15', '2024-08-11 20:57:15', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4783, 4779, '0,4762,4779', '游戏列表读取', 'game:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-11 20:57:15', '2024-08-11 20:57:15', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4784, 4779, '0,4762,4779', '游戏列表删除', 'game:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-11 20:57:15', '2024-08-11 20:57:15', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4785, 4779, '0,4762,4779', '游戏列表回收站', 'game:recycle', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-11 20:57:15', '2024-08-11 20:57:15', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4786, 4779, '0,4762,4779', '游戏列表恢复', 'game:recovery', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-11 20:57:15', '2024-08-11 20:57:15', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4787, 4779, '0,4762,4779', '游戏列表真实删除', 'game:realDelete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-11 20:57:15', '2024-08-11 20:57:15', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4809, 4762, '0,4762', '用户rtp设置', 'game:accountRtp', 'IconMenu', 'game/accountRtp', 'game/accountRtp/index', NULL, 2, 'M', 1, 0, 1, NULL, '2024-08-13 17:49:45', '2024-08-13 17:49:45', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4810, 4809, '0,4762,4809', '用户rtp设置列表', 'game:accountRtp:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-13 17:49:45', '2024-08-13 17:49:45', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4811, 4809, '0,4762,4809', '用户rtp设置更新', 'game:accountRtp:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-13 17:49:45', '2024-08-13 17:49:45', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4812, 4809, '0,4762,4809', '用户rtp设置读取', 'game:accountRtp:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-13 17:49:45', '2024-08-13 17:49:45', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4813, 4809, '0,4762,4809', '用户rtp设置删除', 'game:accountRtp:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-13 17:49:45', '2024-08-13 17:49:45', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4814, 4809, '0,4762,4809', '用户rtp设置保存', 'game:accountRtp:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-13 17:49:45', '2024-08-13 17:49:45', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4821, 4762, '0,4762', '分类列表', 'game:category', 'IconList', 'game/category', 'game/category/index', NULL, 2, 'M', 1, 1, 1, 1, '2024-08-15 07:41:35', '2024-08-15 09:11:57', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4831, 4762, '0,4762', '标签列表', 'game:tag', 'IconMenu', 'game/tag', 'game/tag/index', NULL, 2, 'M', 1, 1, 1, 1, '2024-08-15 09:11:44', '2024-08-15 09:12:34', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4921, 4762, '0,4762', 'vip等级', 'game:vip', 'IconMenu', 'game/vip', 'game/vip/index', NULL, 2, 'M', 1, 0, 1, NULL, '2024-09-21 16:40:39', '2024-09-21 16:40:39', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4922, 4921, '0,4762,4921', 'vip等级列表', 'game:vip:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-09-21 16:40:39', '2024-09-21 16:40:39', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4923, 4921, '0,4762,4921', 'vip等级保存', 'game:vip:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-09-21 16:40:39', '2024-09-21 16:40:39', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4924, 4921, '0,4762,4921', 'vip等级更新', 'game:vip:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-09-21 16:40:39', '2024-09-21 16:40:39', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4925, 4921, '0,4762,4921', 'vip等级读取', 'game:vip:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-09-21 16:40:39', '2024-09-21 16:40:39', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4926, 4921, '0,4762,4921', 'vip等级删除', 'game:vip:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-09-21 16:40:39', '2024-09-21 16:40:39', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4927, 4762, '0,4762', '账户等级', 'game:accountVip', 'IconMenu', 'game/accountVip', 'game/accountVip/index', NULL, 2, 'M', 1, 0, 1, NULL, '2024-09-21 16:58:41', '2024-09-21 16:58:41', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4928, 4927, '0,4762,4927', '账户等级列表', 'game:accountVip:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-09-21 16:58:41', '2024-09-21 16:58:41', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4929, 4927, '0,4762,4927', '账户等级保存', 'game:accountVip:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-09-21 16:58:41', '2024-09-21 16:58:41', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4930, 4927, '0,4762,4927', '账户等级更新', 'game:accountVip:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-09-21 16:58:41', '2024-09-21 16:58:41', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4931, 4927, '0,4762,4927', '账户等级读取', 'game:accountVip:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-09-21 16:58:41', '2024-09-21 16:58:41', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4945, 4762, '0,4762', '下注列表', 'game:bet', 'IconMenu', 'game/bet', 'game/bet/index', NULL, 2, 'M', 1, 0, 1, 1, '2024-10-11 15:21:12', '2024-10-11 15:22:12', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4946, 4945, '0,4762,4945', '下注表列表', 'game:bet:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, 1, '2024-10-11 15:21:12', '2024-10-11 15:21:50', NULL, NULL);",
        ];
    }
}
